package com.qiandw.mapper;

import com.qiandw.entity.mybatis.OrderEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author coxx
 */
@Mapper
public interface OrderMapper {

    List<OrderEntity> getAll();

    OrderEntity getOne(Long id);

    OrderEntity getSome(Long id);

    void insert(OrderEntity order);

    void update(OrderEntity order);

    void delete(Long id);

    void deleteAll();
}
